package org.jeecg.modules.ldwx.channel.service;

import org.jeecg.modules.ldwx.channel.entity.TestCpInterface;
import org.jeecg.modules.ldwx.channel.entity.TestCpError;
import org.jeecg.modules.ldwx.channel.entity.TestCpMain;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 渠道信息
 * @Author: jeecg-boot
 * @Date:   2025-07-01
 * @Version: V1.0
 */
public interface ITestCpMainService extends IService<TestCpMain> {

	/**
	 * 添加一对多
	 *
	 * @param testCpMain
	 * @param testCpInterfaceList
	 * @param testCpErrorList
	 */
	public void saveMain(TestCpMain testCpMain,List<TestCpInterface> testCpInterfaceList,List<TestCpError> testCpErrorList) ;
	
	/**
	 * 修改一对多
	 *
	 * @param testCpMain
	 * @param testCpInterfaceList
	 * @param testCpErrorList
	 */
	public void updateMain(TestCpMain testCpMain,List<TestCpInterface> testCpInterfaceList,List<TestCpError> testCpErrorList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
